package com.HomeWorkhsp.Chapter08.homework.homework02;

public class DivisionManager extends Staff {
    private int bounds;

    public DivisionManager(String name, double dailyWage, int days, double grade, int bounds) {
        super(name, dailyWage, days, grade);
        this.bounds = bounds;
    }

    public void PrintSalary(){
        System.out.println(getName() + " 工资是：" + (bounds + getDailyWage() * getDays() * getGrade()));
}
}
